import request from '@/utils/request'
export function getButtons (data) {
  return request({
    url: '/api/Developer/AppButton/GetButtons',
    method: 'post',
    data
  })
}

export function deleteButton (params) {
  return request({
    url: '/api/Developer/AppButton/DeleteButton',
    method: 'get',
    params
  })
}

export function addButton (data) {
  return request({
    url: '/api/Developer/AppButton/AddButton',
    method: 'post',
    data
  })
}

export function editButton (data) {
  return request({
    url: '/api/Developer/AppButton/EditButton',
    method: 'post',
    data
  })
}